package com.ruoyi.stock2.service;

import java.util.Date;
import java.util.List;
import com.ruoyi.stock2.domain.SearchFromEsChoose;

/**
 * 精挑细选的Service接口
 *
 * @author ruoyi
 * @date 2021-09-08
 */
public interface ISearchFromEsChooseService
{
    /**
     * 查询精挑细选的
     *
     * @param id 精挑细选的ID
     * @return 精挑细选的
     */
    public SearchFromEsChoose selectSearchFromEsChooseById(Long id);

    /**
     * 查询精挑细选的列表
     *
     * @param searchFromEsChoose 精挑细选的
     * @return 精挑细选的集合
     */
    public List<SearchFromEsChoose> selectSearchFromEsChooseList(SearchFromEsChoose searchFromEsChoose);

    /**
     * 新增精挑细选的
     *
     * @param searchFromEsChoose 精挑细选的
     * @return 结果
     */
    public int insertSearchFromEsChoose(SearchFromEsChoose searchFromEsChoose);

    /**
     * 修改精挑细选的
     *
     * @param searchFromEsChoose 精挑细选的
     * @return 结果
     */
    public int updateSearchFromEsChoose(SearchFromEsChoose searchFromEsChoose);

    /**
     * 批量删除精挑细选的
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSearchFromEsChooseByIds(String ids);

    /**
     * 删除精挑细选的信息
     *
     * @param id 精挑细选的ID
     * @return 结果
     */
    public int deleteSearchFromEsChooseById(Long id);

    public int deleteSearchFromEsChooseByDate(Date createDate);
}
